import request from '@/common/request'

export function listMember(data) {
    return request({
        url: '/initial/member/index',
        method: 'get',
        params: data
    })
}

export function createMember(data) {
    return request({
        url: '/initial/member/create',
        method: 'post',
        data: data
    })
}

export function updateMember(data) {
    return request({
        url: '/initial/member/update',
        method: 'post',
        data: data
    })
}

export function deleteMember(data) {
    return request({
        url: '/initial/member/delete',
        method: 'post',
        data: data
    })
}
